import request from "./http";


// 获取本地数据
export function getJsonHome(params) {
    return request({
        url: "./json/home.json",
        method: "get",
        params
    })
}
export function getJsonAbout(params) {
    console.log(params, 'p');//754876 p
    return request({
        url: "/douguo/recipe/detail/"+params,
        method: "get"
    })
}
// export function getJsonAbout(params) {
//     return request({
//         url: "./json/about.json",
//         method: "get",
//         params
//     })
// }